package com.zsd.android.common.utils

class CameraEngine private constructor(builder: Builder) {

    private var specialCameraId: Int = 0

    init {
        this.specialCameraId = builder.specialCameraId
    }

    class Builder {

        internal var specialCameraId: Int = 0

        fun specialCameraId(specialCameraId: Int): Builder {
            this.specialCameraId = specialCameraId
            return this
        }

        fun build(): CameraEngine {
            return CameraEngine(this)
        }
    }
}